<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head lang="en">
    <meta charset="UTF-8"/>
    <meta name="baidu-site-verification" content="yFTo7rWy0t" />
    <title>搜索结果</title>
    <link th:replace="fragment/fragment::header"/>
    <link th:href="@{/css/home/index.css}" rel="stylesheet"/>
    <link th:href="@{/css/home/more.css}" rel="stylesheet"/>
</head>
<body>
<input type="hidden" id="navType" th:value="${navType}"/>
<input type="hidden" id="keyword" th:value="${keyword}"/>
<input type="hidden" id="flag" th:value="${flag}"/>
<input type="hidden" id="rootPath" th:value="${#httpServletRequest.getContextPath()}"/>
<div class="container">
    <div class="head-top">
        <div style="width: 1100px; margin:0 auto;">
            <a href="#appdownload">移动端客户</a>
            <img src="../../img/phone.png"/>
        </div>
        <div class="clearfix"></div>
    </div>
    <div class="nav" th:include="fragment/fragment::nav">

    </div>

    <div class="box">
        <div class="scroll-container">
            <div class="column" th:each="infor,iterStat:${list}" th:id="${infor.item.dataId}">
                <img th:src="${infor.item.img_url[0]}"/>
                <div th:if="${not #strings.isEmpty(infor.item.video_url)}" class="play">
                    <input type="hidden" th:value="${infor.item.video_url}"/>
                    <img th:src="@{/img/play.png}"/>
                </div>
                <div class="text">
                    <h1><a target="_blank" th:href="@{'/detail/'+${infor.item.dataId}}" class="textyc_sl" th:text="${infor.item.name}"></a></h1>
                    <span><a href="#" th:text="'发布时间：'+${#dates.format(infor.item.publishDate,'yyyy年MM月dd日')}"></a></span>
                </div>
                <div class="clearfix"></div>
            </div>

        </div>

        <div class="right-float" id="FloatDIV">
            <img id="appdownload" src="../../images/download/appdownload.png" th:height="150" th:width="150"/>
        </div>
    </div>
    <div class="footer" th:include="fragment/fragment::footer">

    </div>
    </div>

<script th:src="@{/js/sys/layer.min.js}"></script>
<script th:src="@{/js/home/more.js(version=1.0.1)}" type="text/javascript"></script>

<script type="text/javascript">
    var MarginLeft =300;    //浮动层离浏览器右侧的距离
    var MarginTop = 150;   //浮动层离浏览器顶部的距离
    var Width = 20;            //浮动层宽度
    var Heigth= 85;           //浮动层高度

    //设置浮动层宽、高
    function Set()
    {
        document.getElementById("FloatDIV").style.width = Width + 'px';
        document.getElementById("FloatDIV").style.height = Heigth + 'px';
    }

    //实时设置浮动层的位置
    function Move()
    {
        var b_top = window.pageYOffset
                || document.documentElement.scrollTop
                || document.body.scrollTop
                || 0;
        var b_width= document.body.clientWidth;
        document.getElementById("FloatDIV").style.top = b_top + MarginTop + 'px';
        document.getElementById("FloatDIV").style.left = b_width - Width - MarginLeft + 'px';
        setTimeout("Move();",100);
    }

    function showservicepeople()
    {
        location.href=' http://www.freeitjc.com/wp-content/uploads/2014/07/FreeITAPP.jpg';
    }
    Set();
    Move();
</script>
<!--百度抓取-->
<script>
    (function(){
        var bp = document.createElement('script');
        var curProtocol = window.location.protocol.split(':')[0];
        if (curProtocol === 'https') {
            bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';
        }
        else {
            bp.src = 'http://push.zhanzhang.baidu.com/push.js';
        }
        var s = document.getElementsByTagName("script")[0];
        s.parentNode.insertBefore(bp, s);
    })();
</script>
</body>
</html>